import time

def date_display(sec):
    return time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(sec))